package com.example.shardingdemo.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.shardingdemo.commons.LocalDateTimeToStringHandler;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 订单
 * </p>
 */
@Getter
@Setter
@TableName(value = "ct_appoint_record", autoResultMap = true)
public class AppointRecordDO  implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String openid;

    private Long scheduleId;


    private Long sessionId;

    private Long reservationId;


    private Integer reservationType;

    private String scenicName;

    private Integer scenicId;

    @TableField(typeHandler = LocalDateTimeToStringHandler.class)
    private LocalDateTime reservationDate;

    private String phone;

    private LocalTime beginTime;

    private LocalTime endTime;

    private Integer rankNum;

    private Integer appointType;

    private Integer reservationNum;

    private String coverPath;

    private LocalDateTime scanTime;

    private Integer scanUser;

    private Integer scanCode;

    private String areaCode;

    private String areaName;

    private String address;

    private Integer state;

    private Integer healthState;

    private Boolean carryFlag;

    private Boolean deletedFlag;

    private String appId;

}
